package com.three.work.bean;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2020-04-10
 */
@TableName("output_price")
@ApiModel(value="OutputPrice对象", description="")
public class OutputPrice extends Model<OutputPrice> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @TableField("price")
    private BigDecimal price;

    @TableField("location_name")
    private String locationName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "OutputPrice{" +
            "id=" + id +
            ", price=" + price +
            ", locationName=" + locationName +
        "}";
    }
}
